-
Home
-
Elementor Website Builder – More Than Just a Page Builder
-
3.2.3
-
Code
-
Classes
- Svg_Handler
Total Complexity |
85 |
Dependencies |
3 |
Dependents |
3 |
Total lines |
700 |
Lines of code |
408 |
Logical lines of code |
165 |
Comment lines |
212 |
Methods |
37 |
Properties |
2 |
Methods 37
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_allowed_attributes() |
A |
54 |
9 |
19 |
wp_prepare_attachment_for_js() |
S |
51 |
7 |
26 |
sanitizer() |
S |
49 |
6 |
31 |
get_allowed_attributes() |
S |
37 |
1 |
93 |
sanitize_svg() |
S |
56 |
5 |
20 |
handle_upload_prefilter() |
S |
61 |
5 |
11 |
strip_xlinks() |
S |
56 |
4 |
18 |
get_inline_svg() |
S |
59 |
4 |
15 |
sanitize_elements() |
S |
59 |
4 |
14 |
is_allowed_tag() |
S |
62 |
3 |
12 |
get_allowed_elements() |
S |
49 |
1 |
37 |
validate_use_tag() |
S |
69 |
3 |
6 |
strip_php_tags() |
S |
64 |
3 |
9 |
strip_comments() |
S |
66 |
3 |
8 |
strip_doctype() |
S |
69 |
3 |
7 |
is_encoded() |
S |
66 |
2 |
8 |
is_remote_value() |
S |
64 |
2 |
9 |
wp_handle_upload_prefilter() |
S |
80 |
1 |
3 |
upload_mimes() |
S |
80 |
1 |
3 |
set_attachment_id() |
S |
77 |
1 |
4 |
is_svg_uploads_enabled() |
S |
75 |
1 |
4 |
get_attachment_id() |
S |
82 |
1 |
3 |
svg_sanitizer_can_run() |
S |
75 |
1 |
4 |
get_name() |
S |
81 |
1 |
3 |
get_meta() |
S |
79 |
1 |
3 |
has_js_value() |
S |
79 |
1 |
3 |
is_a_attribute() |
S |
78 |
1 |
3 |
remove_element() |
S |
81 |
1 |
3 |
encode_svg() |
S |
80 |
1 |
3 |
decode_svg() |
S |
80 |
1 |
3 |
read_from_file() |
S |
80 |
1 |
3 |
delete_meta_cache() |
S |
81 |
1 |
3 |
get_file_type() |
S |
82 |
1 |
3 |
get_mime_type() |
S |
82 |
1 |
3 |
delete_meta() |
S |
80 |
1 |
3 |
update_meta() |
S |
79 |
1 |
3 |
__construct() |
S |
71 |
1 |
5 |